@import '@/assets/styles/hairline.scss';

.root {
  height: 100%;

  :global {
    .content {
      position: relative;
      z-index: 1;
      height: 100vh;
    }

    .wrapper {
      background-color: #f7f8fa;
    }

    .profile-list {
      .adm-list-item {
        padding-left: 17px;
      }

      .adm-list-line {
        padding-right: 15px;
      }

      .adm-list-body::before {
        display: none;
      }

      .adm-list-item-content {
        font-size: 14px;
        color: #3a3948;
      }

      .adm-list-line::after {
        background-color: #f0f0f0 !important;
      }

      .adm-list-item-content-extra {
        padding-right: 13px;
        font-size: 14px;
        color: #3a3948;

        .avatar-wrapper {
          display: inline-block;
          height: 22.5px;
          width: 22.5px;
          border-radius: 50%;
          overflow: hidden;
          vertical-align: middle;

          img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
          }
        }

        .intro {
          color: #c8c9cc;

          &.normal {
            color: #3a3948;
          }
        }
      }

      .adm-list-item-content-arrow {
        color: #999;
        font-size: 18px;
      }

      &:nth-child(2) {
        margin-top: 12px;
      }

      .adm-list-body::after {
        display: none;
      }
    }

    .drawer {
      .am-drawer-sidebar {
        width: 100%;
        background-color: #fff;
        overflow: auto;
      }
    }

    .drawer-list {
      .am-drawer-sidebar {
        height: 174px;
        border-radius: 12px 12px 0 0;
      }
    }

    .logout {
      position: absolute;
      bottom: 60px;
      width: 100%;
      height: 44px;
      padding: 0 16px;

      .btn {
        width: 100%;
        height: 100%;
        border-radius: 4px;
        color: #fff;
        font-size: 16px;
        background: linear-gradient(315deg, #fe4f4f, #fc6627);
      }
    }
  }
}

// popup 不在当前组件结构中，因此，只能设置全局样式
:global {
  .adm-picker-popup-body {
    .adm-picker-popup-header {
      background-size: 0;

      &::after {
        display: none !important;
      }
    }
  }

  .adm-picker-popup-header-left {
    font-size: 14px;
    color: #969799;
  }

  .adm-picker-popup-header-right {
    font-size: 14px;
    color: #fc6627;
  }

  // 确认删除的模态框
  .adm-dialog {
    .adm-dialog-title{
      font-weight: normal;
    }
    .adm-dialog-action-row {
      button {
        span {
          color: #000;
        }
      }

      button+button {
        span {
          color: rgb(252, 102, 39);
          font-weight: 400;
        }
      }

    }
  }

}